<template>
  <div>
    <el-row :gutter="10">
        <el-col :span="6">
           <el-card>
             <Detile title="总销售额" count="126560">
              <template slot="echarts">
                <span>周同比 &nbsp;&nbsp;&nbsp;56.67% &nbsp;&nbsp; <svg t="1691031004772" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1611" width="16" height="16"><path d="M698.7 480.9v429.5c0 54.8-44.5 99.3-99.3 99.3H434c-54.8 0-99.3-44.5-99.3-99.3V480.9H70l446.9-463 446.9 463H698.7z m0 0" fill="" p-id="1612"></path></svg></span>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <span>日同比 &nbsp;&nbsp;&nbsp;19.96% &nbsp;&nbsp; <svg t="1691031218037" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2743" width="16" height="16"><path d="M335 546.6V117.1c0-54.8 44.5-99.3 99.3-99.3h165.4c54.8 0 99.3 44.5 99.3 99.3v429.5h264.7l-446.9 463L70 546.6h265z m0 0" fill="" p-id="2744"></path></svg></span>
              </template>
              <template slot="footer">
                <span>日销售额 ￥ 12437</span>
              </template>
             </Detile>
           </el-card>
        </el-col>
        <el-col :span="6">
             <el-card>
             <Detile title="总访问量" count="88460">
                 <template slot="footer">
                <span>日访问量  1234</span>
              </template>
              <template slot="echarts">
                <lineCharts></lineCharts>
              </template>
             </Detile>
           </el-card>
        </el-col>
        <el-col :span="6">
           <el-card>
             <Detile title="支付笔数" count="88460">
               <template slot="footer">
                <span>转换率  65%</span>
              </template>
               <template slot="echarts">
                <barcharts></barcharts>
              </template>
             </Detile>
           </el-card>
        </el-col>
        <el-col :span="6">
             <el-card>
             <Detile title="运营活动效果" count="78%">
               <template slot="footer">
                <span>周同比 &nbsp;&nbsp;&nbsp;56.67% &nbsp;&nbsp; <svg t="1691031004772" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1611" width="16" height="16"><path d="M698.7 480.9v429.5c0 54.8-44.5 99.3-99.3 99.3H434c-54.8 0-99.3-44.5-99.3-99.3V480.9H70l446.9-463 446.9 463H698.7z m0 0" fill="" p-id="1612"></path></svg></span>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <span>日同比 &nbsp;&nbsp;&nbsp;19.96% &nbsp;&nbsp; <svg t="1691031218037" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2743" width="16" height="16"><path d="M335 546.6V117.1c0-54.8 44.5-99.3 99.3-99.3h165.4c54.8 0 99.3 44.5 99.3 99.3v429.5h264.7l-446.9 463L70 546.6h265z m0 0" fill="" p-id="2744"></path></svg></span>
              </template>
              <template slot="echarts">
                <prolinecharts></prolinecharts>
              </template>
             </Detile>
           </el-card>
        </el-col>
    </el-row>
  </div>
</template>

<script>
import Detile from './Detile'
import lineCharts from './lineCharts'
import barcharts from './barcharts'
import prolinecharts from './prolineecharts'
export default {
    components: {
        Detile,
        lineCharts,
        barcharts,
        prolinecharts
    }
}
</script>

<style scoped>
  span {
    font-size: 16px;
  }
</style>